package com.example.demo.service;

import com.example.demo.dto.user.UserDto;
import com.example.demo.entity.User;

import java.util.Optional;

public interface IUserService {
    Optional<User> selectOne(String name);

    Optional<User> selectOneByNameAndPassword(String name, String password);
}
